﻿using System;
using System.Runtime.InteropServices;

namespace Microsoft.MediaPlayer.Interop {
	[ComVisible(true)]
	[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
	[Guid("4C5E8F9F-AD3E-4bf9-9753-FCD30D6D38DD")]
	public interface IWMPPluginUI {
		[PreserveSig]
		HResult SetCore([MarshalAs(UnmanagedType.IDispatch)]/*IWMPCore*/object Core);
		[PreserveSig]
		HResult Create(IntPtr hwndParent, [Out] out IntPtr hwndWindow);
		[PreserveSig]
		HResult Destroy();
		[PreserveSig]
		HResult DisplayPropertyPage(IntPtr hwndParent);
		[PreserveSig]
		HResult GetProperty(string wszName, [Out] out object varProperty);
		[PreserveSig]
		HResult SetProperty(string wszName, [In] ref object varProperty);
		[PreserveSig]
		HResult TranslateAccelerator(IntPtr lpmsg);
	}
}
